const mongoose = require("./db");

// 3. 创建用户信息集合(user)
const userSchema = new mongoose.Schema({
    // 设定的集合的结构
    username: {type:String},
    password: {type:String},
    tel:{type:Number},
    isLogin:{type:Boolean}
})

module.exports = mongoose.model("user", userSchema);

